<?php
!defined('ADMIN') && exit('Not allowed to directly view page');
if($dopost=='quickEdit')
{
	AjaxHead();
	$query = "Select * from `#@__yy_order` where `id`= '$aid'";
	$order = $dsql->GetOne($query);
	
	//输出AJAX可移动窗体
	$divname = 'quickEdit';
	echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 225);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">\r\n";
	echo "	<div class='titLeft'>详细信息   &nbsp;&nbsp;&nbsp;    预约号-".$order['orderid']."</div>\r\n";
	echo "	<div class='titRight'><img src='./public/core/admin/images/ico-close.gif' style='cursor:pointer;' onclick='HideObj(\"{$divname}\");ChangeFullDiv(\"hide\");' alt='关闭' title='关闭' /></div>\r\n";
	echo "</div>\r\n";
	echo "<form name='quickeditform' action='?do=yuyueadmin&dopost=quickEditSave&aid={$aid}' method='post'>\r\n";
	echo "<input type='hidden' name='addtable' value='{$order['id']}' />\r\n";
	echo "<table width='100%' style='margin-top:6px;z-index:9000;'>\r\n";
?>
<tr height='32'>
	<td width="80" class='bline'>&nbsp;姓名：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['name'];?></td>
	<td width="80" class='bline'>&nbsp;性别-年龄：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['sex']." -".$order['age']."岁";?></td>
<tr height='32'>
	<td width="80" class='bline'>&nbsp;科室-病种：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['keshi']." -".$order['type'];?></td>
	<td width="80" class='bline'>&nbsp;意向医生：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['doctor'];?></td>
</tr>
<tr height='32'>
	<td width="80" class='bline'>&nbsp;预约时间</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['date'];?></td>
	<td width="80" class='bline'>&nbsp;邮箱：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['email'];?></td>
</tr>
<tr height='32'>
	<td width="80" class='bline'>&nbsp;电话：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['telephone'];?></td>
	<td width="80" class='bline'>&nbsp;qq：</td>
	<td class='bline' align="left">&nbsp;<?php echo $order['qq'];?></td>
</tr>
<tr height='50'>
	<td width="80" class='bline'>&nbsp;备注：</td>
	<td colspan="3" class='bline' align="left">&nbsp;<?php echo $order['remark'];?></td>
</tr>
<tr height='28'>
	<td  colspan="4"  align="center"><input type="button" value="返回" onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");'  /></td>
</tr>
</table>
</form>
<?php
//AJAX窗体结束
}

?>